package com.ken.checkviolationapp.adapter

import android.content.Context
import android.util.Log
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
import com.cimcitech.tebaoscreen.base.BaseHolder
import com.cimcitech.tebaoscreen.base.BaseRecyclerViewAdapter
import com.ken.checkviolationapp.bean.EmptyData
import com.ken.checkviolationapp.bean.NewsTitle
import com.ken.checkviolationapp.bean.TypeInterf
import com.ken.rxhttp.news.Data
import kotlin.math.log

class NewsViewPage2Adapter(ctx: Context, layoutRes: Int, mData: MutableList<String>) :
    BaseRecyclerViewAdapter<String>(ctx, layoutRes, mData), SwipeRefreshLayout.OnRefreshListener {
    val TAG = NewsViewPage2Adapter::class.java.name
    var mList = mData
    override fun convert(holder: BaseHolder, item: String, position: Int) {
//        itemViewpageNewsBinding.data = EmptyData(item)
//        setAdapter()
    }

    /**
     *
     * */
    private fun setAdapter() {

    }

    override fun onRefresh() {
    }
}